package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 审核记录
 * </p>
 *
 * @author 小飞
 * @since 2019-07-11
 */
@TableName("check_after_commit")
public class CheckAfterCommit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联退货id
     */
    @TableField("after_sale_commit_id")
    private Long afterSaleCommitId;

    /**
     * 操作人
     */
    @TableField("auditor")
    private Long auditor;

    /**
     * 审批意见
     */
    @TableField("advice")
    private String advice;

    /**
     * 1.通过，2.驳回，3.退回
     */
    @TableField("status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField("time")
    private Date time;

    /**
     * 审核节点
     */
    @TableField("node")
    private String node;

    /**
     * 审核类型1.维修 2.退货
     */
    @TableField("type")
    private Integer type;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAfterSaleCommitId() {
        return afterSaleCommitId;
    }

    public void setAfterSaleCommitId(Long afterSaleCommitId) {
        this.afterSaleCommitId = afterSaleCommitId;
    }

    public Long getAuditor() {
        return auditor;
    }

    public void setAuditor(Long auditor) {
        this.auditor = auditor;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getNode() {
        return node;
    }

    public void setNode(String node) {
        this.node = node;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "CheckAfterCommit{" +
        "id=" + id +
        ", afterSaleCommitId=" + afterSaleCommitId +
        ", auditor=" + auditor +
        ", advice=" + advice +
        ", status=" + status +
        ", time=" + time +
        ", node=" + node +
        ", type=" + type +
        "}";
    }
}
